package com.ymtms.applicationsystem.service;

import com.ymtms.applicationsystem.pojo.DriverInformation;
import com.ymtms.applicationsystem.vo.GridRequest;

import java.util.List;

public interface DriverInformationService {
    
    /**
     * @Description //插入司机信息
     * @Author liyi
     * @Date 2019/10/22
     * @param driverInformation
     * @return void
     * @Time 16:26
    **/
    public void insertDriverInformation(DriverInformation driverInformation);

    /**
     * @Description //查询司机信息，任意条件
     * @Date 2019/10/22
     * @param condition
     * @return java.util.List<com.ymtms.applicationsystem.pojo.DriverInformation>
     * @Time 17:36
    **/
    public List<DriverInformation> findDriverInformationByCondition(String condition, GridRequest gridRequest);

    /* 删除司机信息 */
    public void deleteDriver(List<Integer> keys);

    public void deleteOne(Integer did);

    public void updateDriver(DriverInformation driverInformation);
}
